Converts 16-bit image data from one color space to another.
public static void Convert16(
byte[] inBuffer,
int inBufferOffset,
byte[] outBuffer,
int outBufferOffset,
int width,
RasterColorSpaceFormat16 inFormat,
RasterColorSpaceFormat16 outFormat
)
Public Overloads Shared Sub Convert16( _
ByVal inBuffer() As Byte, _
ByVal inBufferOffset As Integer, _
ByVal outBuffer() As Byte, _
ByVal outBufferOffset As Integer, _
ByVal width As Integer, _
ByVal inFormat As Leadtools.RasterColorSpaceFormat16, _
ByVal outFormat As Leadtools.RasterColorSpaceFormat16 _
)
public:
static void Convert16(
array<byte>^ inBuffer,
int inBufferOffset,
array<byte>^ outBuffer,
int outBufferOffset,
int width,
Leadtools.RasterColorSpaceFormat16 inFormat,
Leadtools.RasterColorSpaceFormat16 outFormat
)
inBuffer
An array of bytes containing the source image data
inBufferOffset
Zero-based index into inBuffer
outBuffer
An array of bytes to be filled with the converted image data
outBufferOffset
Zero-based index into outBuffer
width
Image width, in pixels
inFormat
The format of the input data
outFormat
The desired format of the converted data
For an example, refer to RasterColorSpace.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET